//
//  VoiceSearchViewController.m
//  云音乐
//
//  Created by lanou3g on 15/6/4.
//  Copyright (c) 2015年 C205. All rights reserved.
//

#import "VoiceSearchViewController.h"

@interface VoiceSearchViewController ()

@end

@implementation VoiceSearchViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UIBarButtonItem * bar = [[UIBarButtonItem alloc]initWithTitle:@"走起" style:UIBarButtonItemStyleDone target:self action:@selector(click)];
    self.navigationItem.leftBarButtonItem = bar;
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)click
{
    if (self.block) {
        self.block(self.test);
    }
    [self.navigationController popViewControllerAnimated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
